#ifndef __FLATPAKREMOTEINFO__H__
#define __FLATPAKREMOTEINFO__H__


#include <FlatpakBase.h>

class Flatpak::RemoteInfo : public Base{
    public:
        initCommand(RemoteInfo, "remote-info");
        RemoteInfo(const RemoteInfo &) = default;
        RemoteInfo(RemoteInfo &&) = default;
        RemoteInfo &operator=(const RemoteInfo &) = default;
        RemoteInfo &operator=(RemoteInfo &&) = default;

        Arch(RemoteInfo, aarch64)
        Arch(RemoteInfo, arm)
        Arch(RemoteInfo, i386)
        Arch(RemoteInfo, x86_64)

        Cached(RemoteInfo)

        OstreeVerbose(RemoteInfo);

        RemoteOrUri(RemoteInfo)

        Package(RemoteInfo)

        UserSystem(RemoteInfo)

        QString run() {
            Base::run();
            qDebug() << "Running:" << command << args;
            return FlatpakCommand::RunCommand(command, args);
        }

    private:

};

#endif  //!__FLATPAKREMOTEINFO__H__


/****************************************************************
Usage:
  flatpak remote-info [OPTION…]  REMOTE REF - Show information about an application or runtime in a remote

Help Options:
  -h, --help              Show help options

Application Options:
  --user                  Work on the user installation
  --system                Work on the system-wide installation (default)
  --installation=NAME     Work on a non-default system-wide installation
  --arch=ARCH             Arch to install for
  --commit=COMMIT         Commit to show info for
  --runtime               Look for runtime with the specified name
  --app                   Look for app with the specified name
  --log                   Display log
  -r, --show-ref          Show ref
  -c, --show-commit       Show commit
  -p, --show-parent       Show parent
  -m, --show-metadata     Show metadata
  --show-runtime          Show runtime
  --show-sdk              Show sdk
  --cached                Use local caches even if they are stale
  --sideloaded            Only list refs available as sideloads
  -v, --verbose           Show debug information, -vv for more detail
  --ostree-verbose        Show OSTree debug information
****************************************************************/

